package com.wn.pettyloan.mapper;

import com.wn.pettyloan.dto.ProductAndDocumnetTypeDto;
import com.wn.pettyloan.entity.ProductAndDocumnetType;
import com.wn.pettyloan.vo.productAndDocumnetTypeVo;

import java.util.List;

/**
* @author mi-xu
* @description 针对表【product_and_documnet_type】的数据库操作Mapper
* @createDate 2022-12-06 13:35:49
* @Entity com.wn.pettyloan.entity.ProductAndDocumnetType
*/
public interface ProductAndDocumnetTypeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ProductAndDocumnetType record);

    int insertSelective(ProductAndDocumnetType record);

    ProductAndDocumnetType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductAndDocumnetType record);

    int updateByPrimaryKey(ProductAndDocumnetType record);

    List<ProductAndDocumnetType> selectAll();

    int addlist(ProductAndDocumnetTypeDto productAndDocumnetTypeDto);

}
